package cn.wolfcode.crm.serivce;

import cn.wolfcode.crm.domain.Product;
import cn.wolfcode.crm.query.ProductQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;
import java.util.Map;

public interface IProductService {
    void deleteByPrimaryKey(Long id);

    void saveOrUpdate(Product record);

    Product selectByPrimaryKey(Long id);

    PageResult query(ProductQueryObject qo);
    List<Product> selectAll();

    Map<String,Object> money();
    Long count();
}
